CC=gcc
LIBS=-lcurl -lz

all: downmp3

downmp3: downmp3.o fetcher.o disurl.o utils.o
	${CC} $^ -o $@ ${LIBS}

%.o: %.c
	${CC} -c $<

clean:
	-rm -rf *.o downmp3

rebuild: clean all
